package com.example.lib_common.mmkv



import com.example.lib_storage.mmkv.MMKVOwner
import com.example.lib_storage.mmkv.MMKVProperty
import com.tencent.mmkv.MMKV

object AppMMKV: MMKVOwner {
    /**
     * app件存储
     */
    override val mmkv: MMKV
        get() = MMKV.mmkvWithID(MMKVConfig.ID.APP)

    //用户协议隐私政策
    var splashAgreement by MMKVProperty<Boolean>(false)

    //app引导页
    var needGuide by MMKVProperty(true)

    //上传app的版本
    var lastVersionCode by MMKVProperty(0)

    //记录启动时间
    var lastLaunchTime by MMKVProperty(0L)

}
